/*
 * employee.cpp
 *
 *  Created on: 2020年9月14日
 *      Author: chencheng
 */

#include "./employee.h"
Employee::~Employee(){
	cout << "Employee 析构函数" << endl;
}
Employee::Employee(int id, string name, int dId) {
	this->m_Id = id;
	this->m_Name = name;
	this->m_DeptId = dId;
}
//显示个人信息
void Employee::showInfo() {
	cout << " 职工编号：	" << this->m_Id
			<< "\t职工姓名：	" << this->m_Name
			<< "\t岗位：	" << this->m_DeptId
			<< "\t岗位职责：	完成经理交给的任务" << endl;

}
//获取岗位名称
string Employee::getDeptName() {
	return string("员工");
}
